<?php

namespace App\Providers;

use App\Person;
use Illuminate\Support\ServiceProvider;

class PersonServiceProvider extends ServiceProvider
{
    // defer load
    
    protected $defer = true;
    /**
     * Register services.
     *
     * @return void
     */
    public function register()
    {
        dd(5545);
        app()->singleton('Person', function() {
            return new Person([555454]);
        });
        dd(app(), 12);
    }

    /**
     * Bootstrap services.
     *
     * @return void
     */
    public function boot()
    {
    }
}
